package cn.k23.bymain.service.sys.impl;

import cn.k23.bymain.bean.sys.User;
import cn.k23.bymain.common.base.BaseServiceImpl;
import cn.k23.bymain.mapper.sys.UserMapper;
import cn.k23.bymain.service.sys.UserService;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Author: k23
 * @Date: 2022-05-06 15:59
 * @Version: 1.0
 */
@Service
public class UserServiceImpl  extends BaseServiceImpl<User, UserMapper> implements UserService {
   /* @Autowired
    UserMapper userMapper;
    @Override
    public PageBean query(Map map) {
        //MapUtils是sdk自己定义的工具类  获取map中指定key的值 转换为int类型
        PageHelper.startPage(MapUtils.getPageNumValue(map),MapUtils.getPageSizeValue(map));
        List list = userMapper.query();
        Page page = (Page) list;
        return new PageBean(page.getPageNum(),page.getPageSize(),page.getTotal(),page.getPages(),list);
    }*/
}
